package cn.sciento.farm.devicemanager.service;

import cn.sciento.farm.devicemanager.dao.entity.DevCollection;
import cn.sciento.farm.devicemanager.dao.entity.DevCollectionType;

import java.util.List;

public interface CollectionTypeService {
    DevCollectionType getById(String type);

    List<DevCollectionType> list();

    int add(DevCollectionType collectionType);

    int updateById(DevCollectionType collectionType);

    DevCollectionType getBySerial(Integer serial);
}
